export interface Category1ListItem {
  id: number;
  name: string;
}
export type Category1ListRes = Category1ListItem[];

export interface Category2ListItem {
  category1Id: number;
  id: number;
  name: string;
}
export type Category2ListRes = Category2ListItem[];

export interface Category3ListItem {
  category2Id: number;
  id: number;
  name: string;
}
export type Category3ListRes = Category3ListItem[];

/*
 [
    {
      "attrName": "string",
      "attrValueList": [
        {
          "attrId": 0,
          "id": 0,
          "valueName": "string"
        }
      ],
      "categoryId": 0,
      "categoryLevel": 0,
      "id": 0
    }
  ],
*/

export interface AttrValueListItem {
  attrId?: number;
  id?: number;
  valueName: string;
  isShowEdit?: boolean;
}
export interface CategoryBasicAttrItem {
  attrName: string;
  attrValueList: AttrValueListItem[];
  categoryId?: number;
  categoryLevel?: number;
  id?: number;
}
export type CategoryBasicAttrRes = CategoryBasicAttrItem[];
